//
//  BaseUITableViewController.h
//  ShareParking
//
//  Created by STAR on 2017/7/29.
//  Copyright © 2017年 zjw. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <DZNEmptyDataSet/UIScrollView+EmptyDataSet.h>

@interface BaseUITableViewController : UITableViewController<DZNEmptyDataSetDelegate,DZNEmptyDataSetSource>
@property (nonatomic, assign) NSInteger maxpage;
@property (nonatomic, assign) NSInteger page;
@property (nonatomic, assign) NSInteger rows;
@property (nonatomic, strong) NSMutableArray *dataSoureArray;
@property (nonatomic, strong) NSMutableArray *recordArray;
@property (nonatomic, assign) BOOL isRecord;//是否重复刷新
- (void)addRefresh;//增加下拉刷新
- (void)addHeaderRefresh; //增加头部下拉刷新
- (void)addFooterRefresh;//增加上拉加载更多
- (void)loadMore;//加载更多
- (void)loadNew;//加载最新
- (void)endRefresh;
- (BOOL)hasMore;

- (void)configNavBackgroundColorUI;

//刷新数据
- (void)loadDataFromService ;
//处理数据
-(NSArray *)dealWithDest:(NSArray *)destArray sourceArray:(NSArray *)sourceArray;

//加载网页
//- (void)loadWevVCWithUrlString:(NSString *)urlString title:(NSString *)title;
@end
